package cn.bon.user.service;

import cn.bon.common.bean.JsonResult;
import cn.bon.common.enums.bonuser.RoleStateEnum;
import cn.bon.user.pojo.po.RolePo;

import java.util.List;

/**
 * @author: dronff
 * @description:
 * @CreateTime: 2023/12/11 11:12
 **/

public interface RoleService {

    JsonResult<List<RolePo>> pageRoles(String roleName, RoleStateEnum type);

    JsonResult deleteRoleById(int roleId);
}
